package com.gfdd.tea.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gfdd.tea.pojo.AddressBook;
import com.gfdd.tea.pojo.User;
import org.springframework.stereotype.Repository;


public interface UserService extends IService<User> {
    User selectById(String openId);

    int insertUser(User user);

    int updateUser(User user);

    AddressBook selectAddress(int user_id);

    int insetAddress(AddressBook addressBook);

    int updateAddress(AddressBook addressBook);

    int deleteAddress(int id);
}
